package com.example.fireassistant_server.mapper;

import com.example.fireassistant_server.dto.Essential.EssentialCreateRequest;
import com.example.fireassistant_server.dto.Essential.EssentialDto;
import com.example.fireassistant_server.entity.Essential;
import com.example.fireassistant_server.vo.EssentialVo;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface EssentialMapper {

    EssentialVo toVo(EssentialDto essentialDto);

    Essential createEntity(EssentialCreateRequest essentialCreateRequest);

    EssentialDto toDto(Essential essential);
}
